package com.djl.supports;

import com.djl.annotation.SqlStatement;
import org.apache.ibatis.mapping.SqlCommandType;

@SqlStatement(value = "update", commandType = SqlCommandType.UPDATE, resultType = int.class)
public class UpdateStatement {

    public String sql(String table,String deleteField) {
        return String.format("update %s set %s",table,deleteField);
    }

}
